
local pack_ids = 
{
	------------pb消息id
	base_pack = 1,
	auth_pack = 2,
	user_pack = 3,
	room_pack = 4,
	table_pack = 5,
	common_pack = 6,
	niuniu_pack = 7,
	zjh_pack = 8,
	bjl_pack = 9,
	zfb_pack = 10,
	pdk_pack = 11,
	ps_pack = 12,
	mj_pack = 13,
	rt_mpps_pack = 14,
	phz_pack = 15,
	robot_pack = 50,
	------------php消息id
	web_test 			= 10000,
	web_change_money 	= 10001, --修改金钱
	web_change_money2 	= 10002, --跑得快修改金钱
	-- web_niuniu_card 	= 10002, --配置牌
	-- web_bulletin		= 10003, --推公告
	-- web_broadcast		= 10004, --跑马灯
	-- web_change_config	= 10005, --配置修改推送	
	-- web_safeclose       = 10006, --安全关服
}


local pack_helper = {}
local idxs = {}
for k,v in pairs(pack_ids) do
	idxs[v] = k
end
for k,v in pairs(idxs) do
    pack_ids[k] = v
end


function pack_helper.get_pack( id )
	return pack_ids[id]
end

function pack_helper.get_id( name )
	return pack_ids[name]
end

return pack_helper
